package com.xydtech.ecard.ecard.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 电子名片企业信息对象 ecard_enterprise_info
 *
 * @author yuzhiguo
 * @date 2024-07-18 下午2:00
 */
public class EcardApiEnterpriseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业主键ID */
    private Long id;

    /** 企业id */
    @Excel(name = "企业id")
    private String entId;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String entName;

    /** 企业简称 */
    @Excel(name = "企业简称")
    private String entAlias;

    /** 企业楼层 */
    @Excel(name = "企业楼层")
    private Integer entLayers;

    /** 企业统一机构编码 */
    @Excel(name = "企业统一机构编码")
    private String entOrgCode;

    /** 法人 */
    @Excel(name = "法人")
    private String entLegalPerson;

    /**
     * 成立日期（注册日期）
     */
    @Excel(name = "成立日期", readConverterExp = "注=册日期")
    @ApiModelProperty(notes = "成立日期")
    private String entEstiblishDate;

    /** 注册资本 */
    @Excel(name = "注册资本")
    private String entRegCapital;

    /** 经营状态 */
    @Excel(name = "经营状态")
    private String entRegStatus;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String entPhoneNumber;

    /** 员工数量 */
    @Excel(name = "员工数量")
    private Integer entEmployeesNum;

    /** 经营范围 */
    @Excel(name = "经营范围")
    private String entBusinessScope;

    /** 所属行业 */
    @Excel(name = "所属行业")
    private Integer entIndustry;

    /** 场所类型 */
    @Excel(name = "场所类型")
    private Integer entLocationType;

    /** 场所表关联id */
    private Integer entLocationId;

    /** 地图地址 */
    @Excel(name = "地图地址")
    private String entMapAddress;

    /** 坐标 */
    @Excel(name = "坐标")
    private String entCoordinate;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String entAddress;

    /** 企业照片 */
    @Excel(name = "企业照片")
    private String entPic;

    /** 营业执照名称 */
    @Excel(name = "营业执照名称")
    private String entLicenseName;

    /** 营业执照图片 */
    @Excel(name = "营业执照图片")
    private String entLicensePic;

    /** 企业标签（多条记录逗号隔开） */
    @Excel(name = "企业标签", readConverterExp = "多=条记录逗号隔开")
    private String entLabel;

    /** 客户层级 */
    @Excel(name = "客户层级")
    private String entLevel;

    /** 营销重点（多条记录逗号隔开） */
    @Excel(name = "营销重点", readConverterExp = "多=条记录逗号隔开")
    private String entMarketingFocus;

    /** 业务标签（多条记录逗号隔开） */
    @Excel(name = "业务标签", readConverterExp = "多=条记录逗号隔开")
    private String entBusinessLabel;

    /** 创建人注册ID */
    @Excel(name = "创建人注册ID")
    private Long creatorId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 创建人机构id */
    @Excel(name = "创建人机构id")
    private Long deptId;

    /** 管户人id */
    @Excel(name = "管户人id")
    private Long managementPersonnelId;

    /** 状态0停用,1启用 */
    @Excel(name = "状态0停用,1启用")
    private Integer state;

    /** 联系人 */
    private String contactsName;
    /** 联系人电话 */
    private String contactsPhone;
    /** 联系人职务 */
    private String entDuties;
    /** 客户经理名称 */
    private String userName;
    /** 机构名称 */
    private String deptName;

    /** 拜访次数 */
    private String visitNumber;
    /** 最新拜访时间 */
    private Date lastVisitDate;
    /** 时间排序 */
    private String sortTime;
    /** 所属行业名称 */
    private String entIndustryName;
    /** 最大拜访时间 */
    private String maxbftime;
    /** 最大成员建档时间 */
    private String maxcytime;

    /** 是否自己，1全部，2自己 */
    private String oneself;

    /** 场所名称 */
    private String locationName;

    /** 场所层数 */
    private String locationLayers;

    /** 字典机构查询条件 */
    private Long dictDeptId;

    /** 成员信息 */
    private List<EcardApiMerchantPartInfo> ecardApiMerchantPartInfos;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public String getEntId() {
        return entId;
    }

    public void setEntId(String entId) {
        this.entId = entId;
    }

    public void setEntName(String entName)
    {
        this.entName = entName;
    }

    public String getEntName()
    {
        return entName;
    }

    public Integer getEntLayers() {
        return entLayers;
    }

    public void setEntLayers(Integer entLayers) {
        this.entLayers = entLayers;
    }

    public String getEntAlias() {
        return entAlias;
    }

    public void setEntAlias(String entAlias) {
        this.entAlias = entAlias;
    }

    public void setEntOrgCode(String entOrgCode)
    {
        this.entOrgCode = entOrgCode;
    }

    public String getEntOrgCode()
    {
        return entOrgCode;
    }

    public String getEntLegalPerson() {
        return entLegalPerson;
    }

    public void setEntLegalPerson(String entLegalPerson) {
        this.entLegalPerson = entLegalPerson;
    }

    public String getEntEstiblishDate() {
        return entEstiblishDate;
    }

    public void setEntEstiblishDate(String entEstiblishDate) {
        this.entEstiblishDate = entEstiblishDate;
    }

    public String getEntRegCapital() {
        return entRegCapital;
    }

    public void setEntRegCapital(String entRegCapital) {
        this.entRegCapital = entRegCapital;
    }

    public Integer getEntEmployeesNum() {
        return entEmployeesNum;
    }

    public void setEntEmployeesNum(Integer entEmployeesNum) {
        this.entEmployeesNum = entEmployeesNum;
    }

    public String getEntBusinessScope() {
        return entBusinessScope;
    }

    public void setEntBusinessScope(String entBusinessScope) {
        this.entBusinessScope = entBusinessScope;
    }

    public Integer getEntLocationId() {
        return entLocationId;
    }

    public void setEntLocationId(Integer entLocationId) {
        this.entLocationId = entLocationId;
    }

    public void setEntIndustry(Integer entIndustry)
    {
        this.entIndustry = entIndustry;
    }

    public Integer getEntIndustry()
    {
        return entIndustry;
    }
    public void setEntLocationType(Integer entLocationType)
    {
        this.entLocationType = entLocationType;
    }

    public Integer getEntLocationType()
    {
        return entLocationType;
    }
    public void setEntMapAddress(String entMapAddress)
    {
        this.entMapAddress = entMapAddress;
    }

    public String getEntMapAddress()
    {
        return entMapAddress;
    }
    public void setEntCoordinate(String entCoordinate)
    {
        this.entCoordinate = entCoordinate;
    }

    public String getEntCoordinate()
    {
        return entCoordinate;
    }
    public void setEntAddress(String entAddress)
    {
        this.entAddress = entAddress;
    }

    public String getEntAddress()
    {
        return entAddress;
    }
    public void setEntPic(String entPic)
    {
        this.entPic = entPic;
    }

    public String getEntPic()
    {
        return entPic;
    }
    public void setEntLicenseName(String entLicenseName)
    {
        this.entLicenseName = entLicenseName;
    }

    public String getEntLicenseName()
    {
        return entLicenseName;
    }
    public void setEntLicensePic(String entLicensePic)
    {
        this.entLicensePic = entLicensePic;
    }

    public String getEntLicensePic()
    {
        return entLicensePic;
    }
    public void setEntLabel(String entLabel)
    {
        this.entLabel = entLabel;
    }

    public String getEntLabel()
    {
        return entLabel;
    }

    public String getEntLevel() {
        return entLevel;
    }

    public void setEntLevel(String entLevel) {
        this.entLevel = entLevel;
    }

    public void setEntMarketingFocus(String entMarketingFocus)
    {
        this.entMarketingFocus = entMarketingFocus;
    }

    public String getEntMarketingFocus()
    {
        return entMarketingFocus;
    }
    public void setEntBusinessLabel(String entBusinessLabel)
    {
        this.entBusinessLabel = entBusinessLabel;
    }

    public String getEntBusinessLabel()
    {
        return entBusinessLabel;
    }
    public void setCreatorId(Long creatorId)
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId()
    {
        return creatorId;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setManagementPersonnelId(Long managementPersonnelId)
    {
        this.managementPersonnelId = managementPersonnelId;
    }

    public Long getManagementPersonnelId()
    {
        return managementPersonnelId;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    public String getContactsName() {
        return contactsName;
    }

    public void setContactsName(String contactsName) {
        this.contactsName = contactsName;
    }

    public String getContactsPhone() {
        return contactsPhone;
    }

    public void setContactsPhone(String contactsPhone) {
        this.contactsPhone = contactsPhone;
    }

    public String getEntDuties() {
        return entDuties;
    }

    public void setEntDuties(String entDuties) {
        this.entDuties = entDuties;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getVisitNumber() {
        return visitNumber;
    }

    public void setVisitNumber(String visitNumber) {
        this.visitNumber = visitNumber;
    }

    public Date getLastVisitDate() {
        return lastVisitDate;
    }

    public void setLastVisitDate(Date lastVisitDate) {
        this.lastVisitDate = lastVisitDate;
    }

    public String getSortTime() {
        return sortTime;
    }

    public void setSortTime(String sortTime) {
        this.sortTime = sortTime;
    }

    public String getEntIndustryName() {
        return entIndustryName;
    }

    public void setEntIndustryName(String entIndustryName) {
        this.entIndustryName = entIndustryName;
    }

    public String getMaxbftime() {
        return maxbftime;
    }

    public void setMaxbftime(String maxbftime) {
        this.maxbftime = maxbftime;
    }

    public String getMaxcytime() {
        return maxcytime;
    }

    public void setMaxcytime(String maxcytime) {
        this.maxcytime = maxcytime;
    }

    public String getOneself() {
        return oneself;
    }

    public void setOneself(String oneself) {
        this.oneself = oneself;
    }

    public List<EcardApiMerchantPartInfo> getEcardApiMerchantPartInfos() {
        return ecardApiMerchantPartInfos;
    }

    public void setEcardApiMerchantPartInfos(List<EcardApiMerchantPartInfo> ecardApiMerchantPartInfos) {
        this.ecardApiMerchantPartInfos = ecardApiMerchantPartInfos;
    }

    public String getLocationName() {
        return locationName;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }

    public String getLocationLayers() {
        return locationLayers;
    }

    public void setLocationLayers(String locationLayers) {
        this.locationLayers = locationLayers;
    }

    public Long getDictDeptId() {
        return dictDeptId;
    }

    public void setDictDeptId(Long dictDeptId) {
        this.dictDeptId = dictDeptId;
    }

    public String getEntRegStatus() {
        return entRegStatus;
    }

    public void setEntRegStatus(String entRegStatus) {
        this.entRegStatus = entRegStatus;
    }

    public String getEntPhoneNumber() {
        return entPhoneNumber;
    }

    public void setEntPhoneNumber(String entPhoneNumber) {
        this.entPhoneNumber = entPhoneNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("entId", getEntId())
                .append("entName", getEntName())
                .append("entAlias", getEntAlias())
                .append("entLayers", getEntLayers())
                .append("entOrgCode", getEntOrgCode())
                .append("entLegalPerson", getEntLegalPerson())
                .append("entEstiblishDate", getEntEstiblishDate())
                .append("entRegCapital", getEntRegCapital())
                .append("entRegStatus", getEntRegStatus())
                .append("entPhoneNumber", getEntPhoneNumber())
                .append("entEmployeesNum", getEntEmployeesNum())
                .append("entBusinessScope", getEntBusinessScope())
                .append("entLocationId", getEntLocationId())
                .append("entIndustry", getEntIndustry())
                .append("entLocationType", getEntLocationType())
                .append("entMapAddress", getEntMapAddress())
                .append("entCoordinate", getEntCoordinate())
                .append("entAddress", getEntAddress())
                .append("entPic", getEntPic())
                .append("entLicenseName", getEntLicenseName())
                .append("entLicensePic", getEntLicensePic())
                .append("entLabel", getEntLabel())
                .append("entLevel", getEntLevel())
                .append("entMarketingFocus", getEntMarketingFocus())
                .append("entBusinessLabel", getEntBusinessLabel())
                .append("creatorId", getCreatorId())
                .append("creationTime", getCreationTime())
                .append("deptId", getDeptId())
                .append("managementPersonnelId", getManagementPersonnelId())
                .append("state", getState())
                .append("remark", getRemark())
                .append("contactsPhone", getContactsPhone())
                .append("entDuties", getEntDuties())
                .append("contactsName", getContactsName())
                .append("userName", getUserName())
                .append("deptName", getDeptName())
                .append("visitNumber", getVisitNumber())
                .append("lastVisitDate", getLastVisitDate())
                .append("sortTime", getSortTime())
                .append("entIndustryName", getEntIndustryName())
                .append("maxbftime", getMaxbftime())
                .append("maxcytime", getMaxcytime())
                .append("oneself", getOneself())
                .append("locationName", getLocationName())
                .append("locationLayers", getLocationLayers())
                .append("dictDeptId", getDictDeptId())
                .append("ecardApiMerchantPartInfos", getEcardApiMerchantPartInfos())
                .toString();
    }
}
